package com.atguigu.spzx.feign.cart.anno;

import com.atguigu.spzx.feign.cart.fallback.CartFeignClientFallback;
import com.atguigu.spzx.feign.cart.interceptor.AddTokenInterceptor;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author LT
 * @create 2024-03-29-16:51
 */

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({CartFeignClientFallback.class, AddTokenInterceptor.class})
@EnableFeignClients(basePackages = "com.atguigu.spzx.feign.*")
public @interface EnableCartClient {
}
